import java.awt.Dimension;

import javax.swing.JPanel;


public class ThinPanel extends JPanel {
	@Override
	public Dimension getMaximumSize() {
		Dimension dim = super.getMaximumSize();
        dim.height = getPreferredSize().height;
        return dim;
	}

}
